package com.java.base.spi;

import java.util.ServiceLoader;

public class JavaSPI {

    public static void main(String[] args) {
        ServiceLoader<IJavaSPI> serviceLoader = ServiceLoader.load(IJavaSPI.class);
        serviceLoader.forEach(IJavaSPI::print);
    }


}
